import request from '@/utils/request'

export function getarticleclass (params) {
  return request({
    url: '/admin/get_class_select',
    method: 'get',
    params: params
  })
}

export function getselectarticlecontent (params) {
  return request({
    url: '/admin/get_select_article_content',
    method: 'get',
    params: params
  })
}

export function getarticlecontent (params) {
  return request({
    url: '/admin/get_article_content',
    method: 'get',
    params: params
  })
}

export function getclassinfo (params) {
  return request({
    url: '/admin/add_class_info',
    method: 'post',
    params: params
  })
}

export function doupdateclassinfo (params) {
  return request({
    url: '/admin/update_class_info',
    method: 'post',
    params: params
  })
}

export function getclasscontent (params) {
  return request({
    url: '/admin/get_class_content',
    method: 'get',
    params: params
  })
}

export function doaddnoticemsg (params) {
  return request({
    url: '/admin/add_notice_msg',
    method: 'post',
    params: params
  })
}
export function doaddarticlecontent (params) {
  return request({
    url: '/admin/add_article_content',
    method: 'post',
    params: params
  })
}
export function dodelarticlecontent (params) {
  return request({
    url: '/admin/del_article_content',
    method: 'get',
    params: params
  })
}
export function doeditarticlecontent (params) {
  return request({
    url: '/admin/update_article_content',
    method: 'post',
    params: params
  })
}
